/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 *
 * @author Vincent
 */
@Entity
public class Ingredient implements Serializable {
    @Id
    private String name;
    private String unit;
    private Long leadTime;
    private Long shelfLife;
    private Long lotSize;
    private Long inventoryBalance;

    public Long getLeadTime() {
        return leadTime;
    }

    public void setLeadTime(Long leadTime) {
        this.leadTime = leadTime;
    }

    public Long getLotSize() {
        return lotSize;
    }

    public void setLotSize(Long lotSize) {
        this.lotSize = lotSize;
    }

    public Long getShelfLife() {
        return shelfLife;
    }

    public void setShelfLife(Long shelfLife) {
        this.shelfLife = shelfLife;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getInventoryBalance() {
        return inventoryBalance;
    }

    public void setInventoryBalance(Long inventoryBalance) {
        this.inventoryBalance = inventoryBalance;
    }

}
